package com.weipai.demo.util;

/**
 * @author songmengqiang
 * @create 2018-09-27 16:19
 **/

public class CheckCode {
    private String phone;
    private String checkCode;
    private long expire; //毫秒数,时间

    public CheckCode(String phone, String checkCode, long expire) {
        this.phone = phone;
        this.checkCode = checkCode;
        this.expire = expire;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public long getExpire() {
        return expire;
    }

    public void setExpire(long expire) {
        this.expire = expire;
    }

    @Override
    public String toString() {
        return "CheckCode{" +
                "phone='" + phone + '\'' +
                ", checkCode='" + checkCode + '\'' +
                ", expire=" + expire +
                '}';
    }
}
